home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
e
/
misc.save
/
000044_fdc@panix.com_Fri Dec 22 17:06:40 2006.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: reader2.panix.com!reader1.panix.com!panix!not-for-mail
From: Frank da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp check usage
Date: Fri, 22 Dec 2006 22:06:32 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 47
Message-ID: <slrneooln8.grv.fdc@panix3.panix.com>
References: <1166820118.724272.114490@80g2000cwy.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix3.panix.com
X-Trace: reader2.panix.com 1166825192 13210 166.84.1.3 (22 Dec 2006 22:06:32 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Fri, 22 Dec 2006 22:06:32 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15615
On 2006-12-22, robt <robt@publicans.com> wrote:
: I have recently downloaded c-kermit 8.0.211 for solaris and am having a
: problem using the 'ftp check' command. I always receive a successful
: return status whether the file exists on the remote server or not. Any
: help would be greatly appreciated. Thanks.
:
Use SET FTP DEBUG ON to see what's happening. Here's what happens when
the connection and the FTP server are functioning properly. First we
make the connection, CD, and enable debugging:
C-Kermit>ftp open kermit.columbia.edu /anonymous
Connected to kermit.columbia.edu.
C-Kermit>cd kermit/a
C-Kermit>set ftp debug on
Now we try FTP CHECK for a file known to exist:
C-Kermit>ftp check aavers.txt
---> TYPE A
200 Type set to A.
---> PASV
227 Entering Passive Mode (128,59,29,214,202,133)
---> NLST aavers.txt
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
LISTFILE: /tmp/ckOPaOze
[aavers.txt]
C-Kermit>status
SUCCESS
C-Kermit>
And now for a file known not to exist:
C-Kermit>ftp check lkjlkjlkj
---> TYPE A
200 Type set to A.
---> PASV
227 Entering Passive Mode (128,59,29,214,202,153)
---> NLST lkjlkjlkj
550 lkjlkjlkj: No such file or directory.
C-Kermit>status
FAILURE
C-Kermit>
Works OK here!
- Frank